StoreEngine\Addons\Subscription\Events\CreateSubscription S

Total Complexity 44
Dependencies 11
Dependents 3
Total lines 382
Lines of code 237
Logical lines of code 116
Comment lines 89
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
get_first_renewal_payment_time()
A
50 8 26
create()
A
35 4 85
create_subscription()
S
51 6 27
add_months()
S
53 6 21
get_expiration_date()
S
58 5 15
add_time()
S
54 4 22
get_trial_expiration_date()
S
63 4 10
strtotime_dark_knight()
S
63 2 11
get_first_renewal_payment_date()
S
64 2 9
date_to_time()
S
68 2 7
init()
S
75 1 4